package com.yourenbang.lingyun.transaction.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.stereotype.Component;

@Data
@Component
@RefreshScope
public class AcmGlobalParams {

    /** 凌云URL */
    @Value("${lingyun.host}")
    private String lingyunHost;

    /** 钉钉报警群 */
    @Value("${dingding.warn.token}")
    private String dingdingWarnToken;

    /**
     * 钉钉统计群token
     */
    @Value("${dingding.statistics.token}")
    private String dingdingstatisticsToken;

    /**
     * m40交易导入开关 1打开 0关闭或空为关闭
     */
    @Value("${m40.trade.import}")
    private String m40TradeImport;
}
